package com.achang.achangmall.product.feign;

import com.achang.common.to.es.SkuEsModel;
import com.achang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/******
 @author 阿昌
 @create 2021-10-03 20:41
 *******
 */
@FeignClient("achangmall-search")
public interface ESFeignService {

    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> esModels);
}
